package com.ruoyi.course.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 已选课程对象 courses_selected
 *
 * @author mac
 * @date 2023-03-11
 */
public class CoursesSelected extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private Long id;

    /**
     * 课程名
     */
    @Excel(name = "课程名")
    private String courseName;

    /**
     * 备注
     */
    @Excel(name = "班级")
    private String memo;

    /**
     * 学生名
     */
    // @Excel(name = "学生名")
    private String userName;

    /**
     * 任课老师
     */
    @Excel(name = "任课老师")
    private String courseTeacher;

    /**
     * 上课地点
     */
    @Excel(name = "上课地点")
    private String classAddress;

    /**
     * 上课时间
     */
    @Excel(name = "上课时间")
    private String classTime;


    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    public void setCourseTeacher(String courseTeacher) {
        this.courseTeacher = courseTeacher;
    }

    public String getCourseTeacher() {
        return courseTeacher;
    }

    public void setClassTime(String classTime) {
        this.classTime = classTime;
    }

    public String getClassTime() {
        return classTime;
    }

    public void setClassAddress(String classAddress) {
        this.classAddress = classAddress;
    }

    public String getClassAddress() {
        return classAddress;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getMemo() {
        return memo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("courseName", getCourseName())
                .append("userName", getUserName())
                .append("courseTeacher", getCourseTeacher())
                .append("classTime", getClassTime())
                .append("classAddress", getClassAddress())
                .append("createTime", getCreateTime())
                .append("memo", getMemo())
                .toString();
    }
}
